home *** CD-ROM | disk | FTP | other *** search
- Path: inforamp.net!usenet
- From: rmorin@inforamp.net (Randy Charles Morin)
- Newsgroups: comp.lang.c++
- Subject: Re: Template implementation - code size efficiency..
- Date: Fri, 19 Apr 1996 03:23:17 GMT
- Organization: InfoRamp Inc., Toronto, Ontario (416) 363-9100
- Message-ID: <4l6meq$ah3@sam.inforamp.net>
- References: <317417FA.5607@zurich.ibm.com>
- NNTP-Posting-Host: ts47-12.tor.istar.ca
- X-Newsreader: Forte Free Agent 1.0.82
-
- Keith Whittingham <wgk@zurich.ibm.com> wrote:
-
- >Is there a rule of thumb regarding the code size overhead
- >for the use of a given template... Does
- > Array<unsigned int> aui;
- > Array<signed int> asi;
- >produce twice as much executable code as...
- > Array<signed int> asi;
- >Can the compiler optimise...
-
- My understanding is that you do get twice the code and
- you can't optimize it.
-
- For a good book on templates I recommend "STL Tutorial and Reference
- Guide, C++ Programming with the Standard Template Libray" by David R.
- Musser and Atul Saini, Addison Wesley.
-
-
- Agrivar
-
- aka Randy Charles Morin,
- MiddleWorld SoftWare,
- Satisfying Your Bit and Bytes,
- Canada 1-800-363-3780
- Other 1-905-279-2087
- eMail rmorin@inforamp.net
-
-